<?php
    include ("../lib/BLL/MonCTDTBLL.php");
    include ("../lib/BLL/DmMonhocBLL.php");
    include ("../lib/BLL/DmLoaiMonhocBLL.php");
    include ("../lib/BLL/ChuongTrinhDaoTaoBLL.php");
    $monctdt_bll=new MonCTDTBLL();
    $loaimh_bll=new LoaiMonhocBLL();
    $monhoc_bll=new DmMonHocBLL();
    $ctdt_bll=new ChuongTrinhDaoTaoBLL();
    $ds_monctdt=array();
    $ds_loaimh=array();
    $ds_monhoc=array();
    $ds_ctdt=array();
    ////////////////////////////////////////////
    $ds_monhoc=$monhoc_bll->getListDmMonHoc();
    $ds_loaimh=$loaimh_bll->getListLoaiMonHoc();
    $ds_monctdt=$monctdt_bll->getAll();
    $ds_ctdt=$ctdt_bll->getAllCTDT();
    ////////////////////////////////////////////
    $smarty->assign('ds_loaimh',$ds_loaimh);
    $smarty->assign('ds_monhoc',$ds_monhoc);
    $smarty->assign('ds_monctdt',$ds_monctdt);
    $smarty->assign('ds_ctdt',$ds_ctdt);
    $smarty->display('nhom2/monCTDT.tpl');
?>